// Task.h

#ifndef TASK_H
#define TASK_H

#include <string>
#include <sstream>

class Task {
private:
	std::string _taskDesc;
	int _startTime;
	int _endTime;

	struct Date {
		int _dd;
		int _mm;
		int _yy;
	} _endDate; 

	bool _completeStatus;

public:
	Task();
	//Copy Constructor
	Task(Task&);
	//Assignment Operator
	//Destructor (have not written)
	~Task();

	void setTask(bool, std::string, int, int, int, int, int);
	void setTaskDesc(std::string);
	void setStartTime(int);
	void setEndTime(int);
	void setEndDate(int,int,int);
	void setCompleteStatus(bool);

	std::string getTaskDesc();
	int getStartTime();
	int getEndTime();
	int getDay();
	int getMonth();
	int getYear();
	bool getCompleteStatus();

	void convertStringToTask(std::istringstream&);
	std::string convertToString();
};

#endif
